Sets our main struct and passes it to the parent class.
Creates a new AdwPreferencesWindow.
Adds a preferences page to @self.
Displays @toast.
Closes the current subpage.
Gets whether gestures and shortcuts for closing subpages are enabled.
Get the main Gtk struct
Gets whether search is enabled for @self.
the main Gtk struct as a void*
Gets the currently visible page of @self.
Gets the name of currently visible page of @self.
Sets @subpage as the window's subpage and opens it.
Removes a page from @self.
Sets whether gestures and shortcuts for closing subpages are enabled.
Sets whether search is enabled for @self.
Makes @page the visible page of @self.
Makes the page with the given name visible.
the main Gtk struct
the main Gtk struct
Get the main Gtk struct
the main Gtk struct as a void*
You should use setContent(Widget) instead
Gets the content widget of @self.
Sets the content widget of @self.
A window to present an application's preferences.
<picture> <source srcset="preferences-window-dark.png" media="(prefers-color-scheme: dark)"> <img src="preferences-window.png" alt="preferences-window"> </picture>
The AdwPreferencesWindow widget presents an application's preferences gathered into pages and groups. The preferences are searchable by the user.
CSS nodes
AdwPreferencesWindow has a main CSS node with the name window and the style class .preferences.